<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<!-- {{get_flashed_messages()[0]}} -->
<div style="align:center">

    <h1>登录</h1>
    <form action="/login" method="post">
    用户名：<input type="text" name="user_name">
    <br>
    密码：<input type="password" name="user_password">
        <input type="submit" name="Submit">
    </form>
    <h1 style="color: red">{{get_flashed_messages()[0]}}</h1>
</div>
</body>
</html>